package com.dhcc.bpm.modules.orga.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName AppTestNewVo
 * @Description TODO
 * @Author sjm
 * @Date 2020/2/26 0026 23:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
public class AppTestNewVo {
    private static final long serialVersionUID = 1L;

    /**
     * 渠道名称
     */
    @ApiModelProperty(value = "渠道名称")
    private String appNameNew;
    /**
     * 渠道类型
     */
    @ApiModelProperty(value = "渠道类型")
    private String appTypeNew;
    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String perChargeNew;
    /**
     * 负责人电话
     */
    @ApiModelProperty(value = "负责人电话")
    private String prpTelNew;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
//    @TableField(value = "`describe`")
    private String describeNew;
    /**
     * 渠道编号
     */
    @ApiModelProperty(value = "渠道编号")
    private String appIdNew;
    /**
     * 运价货币
     */
    private String payMoneyNew;

    /**
     * 运价语言
     */
    private String payLanguageNew;

    /**
     * 支付方式
     */
    private String payMentNew;
    /**
     * 申请测试开始时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date testBeginTimeNew;
    /**
     * 申请测试结束时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date testEndTimeNew;
    /**
     * 申请说明
     */
    private String applyMsgNew;
    /**
     * 使用频率
     */
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "使用频率")
    private Long applyFlowNew;
    /**
     * 并发数（次/秒）
     */
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "并发数（次/秒）")
    private Long applyQpsNew;

    /**
     * 渠道商请求ip
     */
    private String ipNew;

    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "审批使用频率（次/日）")
    private Long approvalFlowNew;

    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @ApiModelProperty(value = "审批并发数（次/秒）")
    private Long approvalQpsNew;

    /**
     * 渠道类型描述
     */
    @ApiModelProperty(value = "渠道类型描述")
    private String appTypeDescNew;

    /**
     * 支付方式描述
     */
    private String payMentDescNew;
}
